how to dynamically render view based from selected picker